﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UI.Model;
using UI.Views;

namespace UI.Presenters
{
    public class SimulationPresenter : PresenterBase<SimulationView>
    {
        private readonly ApplicationPresenter _applicationPresenter;

        public SimulationPresenter(
            ApplicationPresenter applicationPresenter,
            SimulationView view)
        : base(view)
        {
            _applicationPresenter = applicationPresenter;
        }

        public void Close()
        {
            _applicationPresenter.CloseTab(this);
        }
    }
}
